package com.wzapp.sitposture.task.service;
/**
 * Created by qianglong on 2018/1/22.
 */

import com.wzapp.sitposture.task.entity.Task;

import java.sql.Timestamp;
import java.util.List;

/**
 * 定时任务接口<br/>
 *
 * @author ql
 * @create 2018-01-22 22:12
 **/
public interface TaskService {

    /**
     * 功能: 保存定时任务<br/>
     *
     * @author ql
     * @create 2018-05-08 11:29
     * @param task
     * @return Task
     **/
    Task saveTask(Task task);

    /**
     * 根据创建人和任务名称查询定时任务
     * @param creator
     * @param name
     * @return
     */
    Task findByCreatorAndName(String creator,String name);


}
